package com.yunzheng.dto;

import lombok.AllArgsConstructor;
import lombok.Data;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

/**
 * @author 郭思良
 * @create 2020-07-30 10:09
 */

@Data
@AllArgsConstructor
public class BasePageInputDTO {

	/**
	 * 页码
	 */
	@NotNull
	@Min(1)
	private Integer offset;

	/**
	 * 每页条数
	 */
	@NotNull
	@Min(1)
	private Integer size;

}
